#include <iostream>
#include <iomanip>
using namespace std;
int main()
{
    int a = 3;
    float b = 3.1;
    int * p = &a;
    float * p1 = &b;
    cout<<"p = "<< dec << p <<endl;
    cout<<"p1 = "<< dec << p1 <<endl;
    cout<<"p point = " << hex << *p;
    cout<<"p1 point = " <<  *p1<<endl;
    printf("%ld %#x",p,p);

    int * p2 = NULL;
    p2 = new int[10];
    for(int i = 0; i<10; i++)
    {
        *(p+i) = i;
    }
    for(int i = 0; i<10; i++)
    {
        cout<<*(p+i)<<endl;
    }


}
